public class Constant {
//    public static void main(String[] args){
    public static void main(String[] args) {
//        System.out.println("HelloWorld");
//        System.out.println(666666);
        //整数常量
        System.out.println(6666);
        System.out.println(6666);
        //2.小数常量
        System.out.println(3.133333333);
        System.out.println(3.00000000);
        //3.布尔常量
        System.out.println(true);
        System.out.println(false);
        //4.字符型常量
        System.out.println('a');
        System.out.println('1');
        System.out.println('A');
        System.out.println('*');
        System.out.println('男');
        //5.字符串常量
        System.out.println("abzcassssssss");
        System.out.println("a");
        System.out.println(9999);
        System.out.println("1.414");
        System.out.println("");//字符串允许空串，字符型不允许空字符
    }

}
